package modbus

const (
	// FuncCodeReadHoldingRegisters 功能码
	FuncCodeReadHoldingRegisters  = 3
	FuncCodeWriteHoldingRegisters = 6
)

type BaseClient interface {
	ReadHoldingRegisters(slaveId, address, numRegisters uint16) []uint16
	WriteHoldingRegisters(slaveId, address, value uint16) []uint16
	Send(Packager) ([]uint16, error)
}
